/**
 * <p>
 * Created on 2006-6-12 19:03:22 <br>
 * Copyright (c) 2006, All rights reserved.
 * </p>
 * @author Widen
 */
package com.widen.prima.editor.finance;

import java.util.List;

import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;

public class SubjectBalanceContentProvider
    implements IStructuredContentProvider
{
    /**
     * Returns the Person objects
     */
    public Object[] getElements(Object inputElement)
    {
        return ((List) inputElement).toArray();
    }

    /**
     * Disposes any created resources
     */
    public void dispose()
    {
        // Do nothing
    }

    /**
     * Called when the input changes
     */
    public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
    {
        // Ignore
    }
}
